Enter grid size (factors of 10 and <= 250):
Enter number of iterations: